package com.itheima;
/*
    finally 里面的代码一定会执行
*/
public class 异常的最终格式 {
    public static void main(String[] args) {
        try{
            System.out.println("try...");
            int a = 2/0;
        }catch (NullPointerException e){
            System.out.println("catch...");
            int a = 1/0;
        }finally {
            System.out.println("finally...");
        }
    }
}
